<+b_dialog dialog_title="Crop" dw=640 dialog_space=0 dialog_bar=0>
<input type=custom name=crop width=640 height=480><br>
<img src=#line height=1 width=#dw>
<img height=#ds><br>
	<table cellspacing=#ds>
	<tr>
		<td width=#optLabelWidth align=right><img height=2><br>Size</td>
		<td>
			<input type=text name=cropWidth width=40 value="0" ascent=20>
			<img src=#textX>
			<input type=text name=cropHeight width=40 value="0" ascent=20>
			<img src=#textPX>
		</td>
	</tr>
	</table>
	<img height=#ds><br>
	<table cellspacing=#ds>
	<tr>
		<td width=#optLabelWidth align=right><img height=2><br>Rotate</td>
		<td><input type=slider name=rotSlider assoc=rotScroll bgcolor=#colorGroupBox offset=-360000 drange=720.0 horz=1 width=279 range=720000 page=45000 step=900 ascent=10 alt="Adjust image rotation"></td>
		<td>
			<input type=textbox name=rotScroll width=40 height=20 sliderWidth=200 sliderMin=-360 sliderMax=360 sliderMinLimit=-36000 sliderMaxLimit=36000 sliderFormat="%1.0f" sliderScale=1000 alt="Adjust image rotation" ascent=20>
			<img src=#textDegree>
		</td>
	</tr>
	</table>
	<img height=#ds><br>
	<table cellspacing=#ds>
	<tr>
		<td width=#optLabelWidth align=right><img height=3><br>Crop Left:</td>
		<td><input type=text name=cropLeft width=40 value="0" ascent=20><img src=#textPX></td>
		<td><img height=3><br>Right:</td>
		<td><input type=text name=cropRight width=40 value="0" ascent=20><img src=#textPX></td>
		<td><img height=3><br>Top:</td>
		<td><input type=text name=cropTop width=40 value="0" ascent=20><img src=#textPX></td>
		<td><img height=3><br>Bottom:</td>
		<td><input type=text name=cropBottom width=40 value="0" ascent=20><img src=#textPX></td>
	</tr>
	</table>
	<img height=#ds>
<+d_dialog>
	<input type=button name=ok value="Ok" height=#dbh width=#dbw  bgcolor=#colorSelection textcolor=#colorSelectionText default=1>
	<img width=#ds>
	<input type=button name=cancel value="Cancel" height=#dbh width=#dbw>		
<+e_dialog>
